package com.chaoyi.doman.koreanvideo;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;

/**
 * 韩国视频查询类
 * @author xuanqicheng
 * @create 2018-11-下午12:13
 */
public class KoreanVideoQueryCondition {

    @NotNull(message = "page参数不能为空")
    @DecimalMin(value ="1",message="page最小值为1")
    private Integer page;

    @NotNull(message = "pageSize参数不能为空")
    @DecimalMin(value ="1",message="pageSize最小值为1")
    private Integer pageSize;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
